﻿using System; 
using System.Text;
using System.Collections.Generic; 
using System.Data;
namespace ART.Model{
	 	//TBAdmin
		public class M_TBAdmin
	{
   		     
      					
		private int _id=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int ID
                    {
                           get{ return _id; }
                           set{ _id = value; }
                    }        
								
		private string _username=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string UserName
                    {
                           get{ return _username; }
                           set{ _username = value; }
                    }        
								
		private string _password=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string PassWord
                    {
                           get{ return _password; }
                           set{ _password = value; }
                    }        
								
		private string _prusername=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string PrUserName
                    {
                           get{ return _prusername; }
                           set{ _prusername = value; }
                    }        
								
		private string _realname=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string RealName
                    {
                           get{ return _realname; }
                           set{ _realname = value; }
                    }        
								
		private string _sex=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string Sex
                    {
                           get{ return _sex; }
                           set{ _sex = value; }
                    }        
								
		private string _telphone=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string TelPhone
                    {
                           get{ return _telphone; }
                           set{ _telphone = value; }
                    }        
								
		private string _email=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string Email
                    {
                           get{ return _email; }
                           set{ _email = value; }
                    }        
								
		private string _description=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string Description
                    {
                           get{ return _description; }
                           set{ _description = value; }
                    }        
												
		private DateTime _adddate=DateTime.Now;
		/// <summary>
	           /// 
                    /// </summary>
                    public DateTime AddDate
                    {
                           get{ return _adddate; }
                           set{ _adddate = value; }
                    }        
								
		private string _lastloginip=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string LastLoginIP
                    {
                           get{ return _lastloginip; }
                           set{ _lastloginip = value; }
                    }        
												
		private DateTime _lastlogintime=DateTime.Now;
		/// <summary>
	           /// 
                    /// </summary>
                    public DateTime LastLoginTime
                    {
                           get{ return _lastlogintime; }
                           set{ _lastlogintime = value; }
                    }        
												
		private DateTime _lastlogouttime=DateTime.Now;
		/// <summary>
	           /// 
                    /// </summary>
                    public DateTime LastLogoutTime
                    {
                           get{ return _lastlogouttime; }
                           set{ _lastlogouttime = value; }
                    }        
						
		private int _logintimes=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int LoginTimes
                    {
                           get{ return _logintimes; }
                           set{ _logintimes = value; }
                    }        
						
		private int _locked=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int Locked
                    {
                           get{ return _locked; }
                           set{ _locked = value; }
                    }        
								
		private bool _supertf=false;
						/// <summary>
	           /// 
                    /// </summary>
        public bool SuperTF
                    {
                           get{ return _supertf; }
                           set{ _supertf = value; }
                    }        
								
		private string _powerlist=string.Empty;
						/// <summary>
	           /// 
                    /// </summary>
                    public string PowerList
                    {
                           get{ return _powerlist; }
                           set{ _powerlist = value; }
                    }        
						
		private int _rolesid=0;
								/// <summary>
	           /// 
                    /// </summary>
                    public int RolesId
                    {
                           get{ return _rolesid; }
                           set{ _rolesid = value; }
                    }        
			}
}